#include "rectangleAgent.h"

// Calls superclass constructor
rectangleAgent::rectangleAgent(void)
	: agent(RECTANGLE, vertex(0,0), AVector(0,0), RED)
{
	length = 1.5;
	width = 1;
}

// Calls superclass constructor as well
rectangleAgent::rectangleAgent(vertex pos, AVector vel, float inSize, team_T iTeam)
	: agent(RECTANGLE, pos, vel, iTeam)
{
	length = 1.5*inSize;
	width = inSize;
}

// Calls superclass constructor as well
rectangleAgent::rectangleAgent(vertex pos, AVector vel, float l, float w, team_T iTeam)
	: agent(RECTANGLE, pos, vel, iTeam)
{
	length = l;
	width = w;
}

rectangleAgent::~rectangleAgent(void)
{
}
